package com.zoespeer.food_delivery_comment_api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("categories")
public class Category {
    @TableId(type = IdType.AUTO)
    private Integer categoryId;
    private String name;
    private Integer sortOrder;
    private String status;
    @TableField("created_at")
    private LocalDateTime createdAt;

}